package com.hzj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzj
 * @since 2021-03-10
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Person implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "pid", type = IdType.AUTO)
      private Integer pid;

    private String pname;

    private String sex;

    private Integer age;

    private String rank;

    private String department;


}
